# -*- coding: utf-8 -*-
"""
author:码同学 极光
date:2024/9/21
desc: 
sample: 
"""
# python弱类型 语言 不需要额外定义
import keyword

number1 = '20'
number2 = 20
number3 = "20"
number4 = True
print(int(number1) * 3)
print(number2 * 3)
print(type(number1))
print(type(number2))
print(type(number3))
print(type(number4))

arry = ['12', 1212, 1212]

arry.append(3)
arry4 = list()  # 对象
print(len(arry))
print(arry)
arry2 = set(arry)
print(arry2)
print(type(arry2))

arry3 = tuple(arry2)  # 方法定义
try:
    arry3.append(3)
except Exception as e:
    pass

print('0000000000000000')

person = {
    "name": "张三",
    "age": 25,
    "lunch_fee": 19.5,
    "hope_deposit": 10000000000000,
    "dream_come": True
}

person2 = dict()

_coach = "波波维奇"
_ = "卡哇伊"

user_name = 'zhangsan'

_1_year = "1990"  # python ->机器能识别的

print(keyword.kwlist)
